//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.ExamScheduleChartsDto;
//import java.io.Serializable;
//import com.rt.schedulebase.service.IExamScheduleChartsService;
//import com.rt.schedulebase.entity.ExamScheduleCharts;
//import com.rt.schedulebase.mapper.ExamScheduleChartsMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//public class ExamScheduleChartsServiceImpl extends ServiceImpl<ExamScheduleChartsMapper, ExamScheduleCharts> implements IExamScheduleChartsService
//{
//@Override
//    public boolean insertSelective(final ExamScheduleCharts examScheduleCharts) {
//        return this.retBool(Integer.valueOf(((ExamScheduleChartsMapper)this.baseMapper).insert(examScheduleCharts)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((ExamScheduleChartsMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final ExamScheduleCharts examScheduleCharts) {
//        return this.retBool(Integer.valueOf(((ExamScheduleChartsMapper)this.baseMapper).updateById(examScheduleCharts)));
//    }
//
//@Override
//    public ExamScheduleCharts selectByPrimaryKey(final String key) {
//        return (ExamScheduleCharts)((ExamScheduleChartsMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<ExamScheduleCharts> getList(final ExamScheduleChartsDto dto) {
//        final QueryWrapper<ExamScheduleCharts> qw = (QueryWrapper<ExamScheduleCharts>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("DEPT_CODE", dto.getDeptCode());
//        map.put("EXAM_CLASS", dto.getExamClass());
//        map.put("PATIENT_SOURCE", dto.getPatientSource());
//        map.put("QUEUE_NAME", dto.getQueueName());
//        map.put("HOSPITAL_CODE", dto.getHospitalCode());
//        map.put("TERMINAL_TYPE", dto.getTerminalType());
//        qw.allEq((Map)map, false);
//        final List<ExamScheduleCharts> list = (List<ExamScheduleCharts>)((ExamScheduleChartsMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<ExamScheduleCharts> getListAll() {
//        return (List<ExamScheduleCharts>)((ExamScheduleChartsMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final ExamScheduleCharts examScheduleCharts) {
//        final UpdateWrapper<ExamScheduleCharts> uw = (UpdateWrapper<ExamScheduleCharts>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamScheduleChartsMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final ExamScheduleCharts examScheduleCharts) {
//        final UpdateWrapper<ExamScheduleCharts> uw = (UpdateWrapper<ExamScheduleCharts>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamScheduleChartsMapper)this.baseMapper).update(examScheduleCharts, (Wrapper)uw)));
//    }
//
//@Override
//    public ExamScheduleCharts getInfo(final ExamScheduleChartsDto dto) {
//        final QueryWrapper<ExamScheduleCharts> qw = (QueryWrapper<ExamScheduleCharts>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("DEPT_CODE", dto.getDeptCode());
//        map.put("EXAM_CLASS", dto.getExamClass());
//        map.put("PATIENT_SOURCE", dto.getPatientSource());
//        map.put("QUEUE_NAME", dto.getQueueName());
//        map.put("HOSPITAL_CODE", dto.getHospitalCode());
//        map.put("TERMINAL_TYPE", dto.getTerminalType());
//        qw.allEq((Map)map, false);
//        return (ExamScheduleCharts)((ExamScheduleChartsMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
